package com.miyake.client.datamanage.plugin;

import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.rpc.AsyncCallback;

public class ChartPluginRegisterDialog extends PluginRegisterDialog {

	@Override
	protected void addPlugin(String url) {
		
		service.addChartPlugin(url, new AsyncCallback<String>() {
			@Override
			public void onFailure(Throwable caught) {

			}

			@Override
			public void onSuccess(String result) {
				Window.alert(result);
			}
		});
	}

}
